home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 52
/
Amiga Format AFCD52 (Issue 136, May 2000).iso
/
-in_the_mag-
/
reader_requests
/
xgtool
/
xgtoolset
/
source
/
xgdrum
/
toolstart.c
< prev
next >
Wrap
C/C++ Source or Header
|
2000-02-23
|
524b
|
27 lines
#include "bars.h"
long IntuitionBase;
long GfxBase;
long LayersBase;
long DOSBase;
long SysBase;
long stdout;
struct Functions *functions;
struct ToolMaster *start(f)
struct Functions *f;
{
functions = f;
if (f->version < 3) return(0); /* Make sure this is B&P Pro! */
SysBase = functions->SysBase;
DOSBase = functions->DOSBase;
IntuitionBase = functions->IntuitionBase;
GfxBase = functions->GfxBase;
LayersBase = functions->LayersBase;
return((struct ToolMaster *)inittoolmaster());
}